package com.shiikong_memory.yez.Arknights.DataEnum;

import java.util.Random;

public enum MizukiCaerulaArborEnum {
    //心胜于物分队
    MindOverMatterDetachment("心胜于物分队"),
    //物尽其用分队
    WasteNotDetachment("物尽其用分队"),
    //以人为本分队
    PeopleOrientedDetachment("以人为本分队"),
    //指挥分队
    CommandDetachment("指挥分队"),
    //集群分队
    ClusterDetachment("集群分队"),
    //后勤分队
    LogisticsDetachment("后勤分队"),
    //矛头分队
    SpearheadDetachment("矛头分队"),
    //突击战术分队
    AssaultTacticalDetachment("突击战术分队"),
    //堡垒战术分队
    FortressTacticsDetachment("堡垒战术分队"),
    //远程战术分队
    LongRangeTacticsDetachment("远程战术分队"),
    //破坏战术分队
    SpoilingTacticsDetachment("破坏战术分队"),
    //研究分队
    StudyDetachment("研究分队"),
    //高规格分队
    HighStandardDetachment("高规格分队");
    private static Random random = new Random();
    private String ChineseName;
    MizukiCaerulaArborEnum(String name){
        this.ChineseName = name;
    }

    @Override
    public String toString() {
        return ChineseName;
    }

    public static MizukiCaerulaArborEnum Random(){
        return switch (random.nextInt(13)) {
            case 0 -> MizukiCaerulaArborEnum.CommandDetachment;
            case 1 -> MizukiCaerulaArborEnum.ClusterDetachment;
            case 2 -> MizukiCaerulaArborEnum.LogisticsDetachment;
            case 3 -> MizukiCaerulaArborEnum.SpearheadDetachment;
            case 4 -> MizukiCaerulaArborEnum.AssaultTacticalDetachment;
            case 5 -> MizukiCaerulaArborEnum.FortressTacticsDetachment;
            case 6 -> MizukiCaerulaArborEnum.LongRangeTacticsDetachment;
            case 7 -> MizukiCaerulaArborEnum.SpoilingTacticsDetachment;
            case 8 -> MizukiCaerulaArborEnum.StudyDetachment;
            case 9 -> MizukiCaerulaArborEnum.HighStandardDetachment;
            case 10 -> MizukiCaerulaArborEnum.MindOverMatterDetachment;
            case 11 -> MizukiCaerulaArborEnum.WasteNotDetachment;
            case 12 -> MizukiCaerulaArborEnum.PeopleOrientedDetachment;
            default -> null;
        };
    }
}
